#include "sys.h"
//typedef unsigned int (*Get_Flag_F)(void) ;
typedef  int (*Get_Num_F)(void) ;
//Get_Flag_F  Get_Flag;
Get_Num_F Get_Num;
Get_Num_F Get_Num1;
int main(void)
{
	Sys_Init();
//	Get_Flag = (Get_Flag_F)*(vu32*)0x0807c018;
	Get_Num =  (Get_Num_F)*(vu32*)0x0807c00c;
	Get_Num1 = (Get_Num_F)*(vu32*)0x0807c010;
//	Sys_Printf("flag = 0x%x\r\n",Get_Flag()); 
	Sys_Printf("num = %d\r\n",Get_Num()); 
	Sys_Printf("num1 = %d\r\n",Get_Num1()); 
	while(1){
		Sys_Printf("hello app\r\n");
		Sys_Delay_ms(1000);
	}
}


